package vmcs.maintenance;

import vmcs.common.Environment;

/**
 * Title:        VMCS
 * Description:
 * Copyright:    Copyright (c) 2001
 * Company:      ISS
 * @author Pang Pingli
 * @version 1.0
 */

public class Password {

  final static String   pswd = "ppl";

  public Password() {
  }

  public boolean validatePassword(String psi){
    // the correct password is obtained from the property file.
    // The input password psi is compared to the correct one from the property file.
    if(psi.compareTo(Environment.getPassword()) == 0)
      return true;
    else
      return false;
  }
}